package com.powernode.work.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.powernode.settings.bean.UserBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties("handler")
public class CustomerBean {
    private String id;

    private String owner;

    private String name;

    private String website;

    private String phone;

    private String createBy;

    private String createTime;

    private String editBy;

    private String editTime;

    private String contactSummary;

    private String nextContactTime;

    private String description;

    private String address;

    private UserBean ownerUser;//所有者

    public CustomerBean(String id, String owner, String name, String website, String phone, String createBy, String createTime, String editBy, String editTime, String contactSummary, String nextContactTime, String description, String address) {
        this.id = id;
        this.owner = owner;
        this.name = name;
        this.website = website;
        this.phone = phone;
        this.createBy = createBy;
        this.createTime = createTime;
        this.editBy = editBy;
        this.editTime = editTime;
        this.contactSummary = contactSummary;
        this.nextContactTime = nextContactTime;
        this.description = description;
        this.address = address;
    }
}